<%--
  Created by IntelliJ IDEA.
  User: AdrianJ
  Date: 2024/6/11
  Time: 16:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<style >
    /*共同*/
    h1{
        font-size: 18px;
        font-weight: bold;
        letter-spacing: 2px;
        color: #383838;
    }
    .inside-container{
        position: absolute;
        top: 52px;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 8px;
        overflow-y: scroll;
        overflow-x: hidden;
    }
    .refresh-btn{
        position: absolute;
        right: 8px;
        top: 8px;
        font-size: 14px;
        color: #383838;
        cursor: pointer;
        text-decoration: underline;
    }
    .scroll-container{
        overflow-y: scroll;
        overflow-x: hidden;
        padding-right: 4px;
    }
    .scroll-container .procuct-container{
        width: 100%;
        margin-bottom: 12px;
        height: 460px;
        border-radius: 16px;
        box-shadow: 2px 2px 6px #00000033;
        overflow: hidden;
        margin-right: 4px;
        position: relative;
        min-width: 600px;
    }
    /*背景*/
    .scroll-container .procuct-container .block-back{
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
    }
    .scroll-container .procuct-container .block-back div{
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: #fafafaaa;
        backdrop-filter: blur(4px);
    }
    .scroll-container .procuct-container .block-back img{
        min-width: 100%;
        min-height: 100%;
        position: absolute;
        object-fit: cover;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    /*图片*/
    .scroll-container .procuct-container .block-img{
        position: absolute;
        left: 12px;
        top: 12px;
        height: 270px;
        width: 360px;
        background-color: #fafafa;
        border-radius: 4px;
        border: #eee solid 2px;
        box-shadow: inset 0 0 8px #00000033;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    .scroll-container .procuct-container .block-img img{
        max-height: 100%;
        max-width: 100%;
        position: absolute;
        object-fit: contain;
    }
    /*基础信息*/
    .scroll-container .procuct-container .block-basic{
        position: absolute;
        left: 386px;
        right: 12px;
        top: 12px;
        height: 270px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
    .scroll-container .procuct-container .block-basic h2{
        font-weight: bold;
        color: #5471c0;
        font-size: 42px;
        display: flex;
        align-items: start;
        position: relative;
        margin: 0;
    }
    .scroll-container .procuct-container .block-basic h2::after{
        content: "元";
        font-size: 22px;
        transform: translate(4px,14px);
    }
    .scroll-container .procuct-container .block-basic h3{
        font-size: 30px;
        text-overflow: clip;
        max-width: 100%;
        white-space: nowrap;
        font-weight: bold;
        color: #383838;
        margin: 0;
    }
    .scroll-container .procuct-container .block-basic h4{
        font-size: 16px;
        white-space: pre-line;
        max-width: 100%;
        margin: 0;
    }
    .scroll-container .procuct-container .block-basic button{
        padding: 8px 24px;
        outline: none;
        border: none;
        box-shadow: 2px 2px 4px #00000033;
        background: linear-gradient(to right bottom, #9bafe5, #bba1e3);
        color: #fff;
        cursor: pointer;
        border-radius: 4px;
        transition: .4s;
    }
    .scroll-container .procuct-container .block-basic button:hover{
        transform: rotateX(16deg);
        box-shadow: 4px 4px 12px #799be588;
        transition: .4s;
    }

    /*介绍信息*/
    .scroll-container .procuct-container .block-intro{
        position: absolute;
        top: 296px;
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 8px;
        white-space: pre-line;
        overflow:scroll;
    }
    /*更多*/
    .more-btn{
        width: 100%;
        text-align: center;
        cursor: pointer;
    }
    /*购物车中*/
    .cart-container{
        position: absolute;
        left: 12px;
        top: 12px;
        right: calc(50% + 8px);
        bottom: 12px;
    }
    /*我买到的*/
    .bought-container{
        position: absolute;
        right: 12px;
        top: 12px;
        left: calc(50% + 8px);
        bottom: 12px;
    }


</style>
